package com.wlyuan.open.scanner.domain.goods;

import com.wlyuan.open.scanner.domain.BaseDomain;
import com.wlyuan.open.scanner.utils.enums.SourceInvalidEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * @author lijing
 * @description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString(callSuper = true)
public class Goods extends BaseDomain {

    @ApiModelProperty(value = "物品名称")
    private String name;

    private String enName;

    @ApiModelProperty(value = "物品类型")
    private String type;

    @ApiModelProperty(value = "物品类型ID")
    private Long goodsTypeId;

    @ApiModelProperty(value = "物品单位")
    private String unit;

    @ApiModelProperty(value = "物品单位ID")
    private Long goodsUnitId;

    @ApiModelProperty(value = "物品价值")
    private BigDecimal value;

    @ApiModelProperty(value = "物品规格")
    private String spec;

    @ApiModelProperty(value = "物料编码")
    private String barcode;

    @ApiModelProperty(value = "长")
    private Double length;

    @ApiModelProperty(value = "宽")
    private Double width;

    @ApiModelProperty(value = "高")
    private Double height;

    @ApiModelProperty(value = "体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "箱入数")
    private Integer boxInput;

    @ApiModelProperty(value = "净重")
    private BigDecimal netWeight;

    @ApiModelProperty(value = "毛重")
    private BigDecimal grossWeight;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "使用热度")
    private Integer hots;

    private Long customerId;

    private Long id;

    @ApiModelProperty(value = "物品状态")
    private SourceInvalidEnum goodsInvalid;

    private Long createBy;
    private Long updateBy;

    private String sourceId;

}
